All Questions
14 questions
0votes
0answers
23views
How to set the same base url for two different taxonomies?
I have created two custom taxonomies. function themename_custom_taxonomies() { // Coaching Method $nieruchomosc = array( 'name' => _x( 'Nieruchomość', 'taxonomy general name' ), ...
0votes
0answers
105views
How do I get the correct URL?
Helo, WordPress Community! Help me, please. Created a custom post type with one taxonomy added as a category. Overwrite rules have also been created to display the complete structure of the CNC, for ...
0votes
1answer
132views
How to replace custom post type with custom taxonmy in permalinks
I have a Url structure of http://domain.com/hospital/hospitalname (here hospital is custom post type and hospitalname is a registered business user) I want to change the Url structure to http://domain....
0votes
1answer
918views
How To Create Dynamic Permalink To Custom Taxonomy List of Current Posts?
I'm looking for help with a problem I've run into and can't seem to workout myself. I have created my own custom taxonomy called series (code below). I am calling the custom taxonomy posts in a widget ...
1vote
1answer
1kviews
Change permalink of post if it belongs to custom taxonomy
My posts are all located at /blog/post-name/ I have a custom taxonomy called a 'Series'. The series can be accessed at /blog/series-name which shows all posts in that series. What I would like to do ...
3votes
1answer
138views
Remove "-2" from a Toolset Types URL with the same post name
I'm using Toolset Types to create a custom post type, and within that post type there is a taxonomy. I have created two posts with the same name, but in a different taxonomy. For the purposes of ...
1vote
2answers
80views
Replace taxonomy permalinks
I have this permalinks settings: /%postname%/ I have a custom taxonomy issue. I want replace all my taxonomy links (site.com/category/wordpress) to (site.com/category/wordpress/issue/any-child). ...
2votes
1answer
677views
Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
I have a custom post type called ‘sets’ and a taxonomy set up under it called ‘project’. Most of the posts under this custom post type will be assigned one project term, but not necessarily. When a ...
0votes
1answer
66views
Using page title as a link to term archive
i want to do something like that (pay attention to line 4): $term_link = get_term_link( $term, 'genre1' ); if( is_wp_error( $term_link ) ) continue; echo '<li><a href="' . $term_link . '"...
4votes
1answer
1kviews
Custom taxonomy on permalink
I have a long time problem and look forward for your help. I have a custom taxonomy of "city" (it is no hierarchical like tags). I just would like my URLs to look like this: /%city%/%category%/%...
1vote
2answers
1kviews
Custom Post Type: How to display all of same taxonomy?
Isn't there a permalink structure that will essentially list out all categories of a certain post type? function create_faqs_post_type() { register_post_type( 'faqs', array( '...
3votes
1answer
3kviews
How can I set up a category "overview" page?
I know I can use the Template Hierarchy to set up custom theme pages for terms inside a category, like these: mysite.com/category/tech/ // category-tech.php mysite.com/category/blog/ ...
9votes
4answers
13kviews
How do I append multiple taxonomies to the URL?
Multiple taxonomies in URL How does one append multiple taxonomies to the URL having the following: Post Type: products Taxonomy: product_type Taxonomy: product_brand Adding new product ...
0votes
1answer
99views
How to define %category% for custom taxonomies?
So when you put %category% in the permalink structure that tag will be replaced with the path from the root category to the furthest subcategory, where, when placed in multiple categories, it will ...